<template>
    <div class="header">
        <div class="header-left">返回</div>
        <input class="header-input" placeholder="搜索:目的地/酒店/景点/机票" />
        <div class="header-right">城市</div>
    </div>
</template>

<script>
export default {
  name: 'HomeHeader'
}
</script>

<style lang="scss" scope>
    .header {
        display: flex;
        line-height: .86rem;
        background: #00bcd4;
        color: #fff;

        .header-left {
            width: .64rem;
            float: left;
        }

        .header-input {
            flex: 1;
            height: .62rem;
            line-height: .62rem;
            margin-top: .12rem;
            margin-left: .2rem;
            background: #fff;
            border-radius: .1rem;
            padding-left: .1rem;
            box-sizing: border-box;
        }

        .header-input::-webkit-input-placeholder {
            color: #ccc;
        }

        .header-right {
            width: 1.24rem;
            float: right;
            text-align: center;
        }
    }
</style>
